import http from "@/api";
import { PORT1 } from "../../config/servicePort";
import qs from "qs";

export const getUseProTableListApi = (params: any) => {
	return http.get(PORT1 + "/test/table/proTable/getUsers", params, {});
};

// 新增用户
export const addUserApi = (params: any) => {
	return http.post(PORT1 + "/test/table/proTable/addUser", params, {});
};

// 修改用户
export const editUserApi = (params: any) => {
	return http.post(PORT1 + "/test/table/proTable/editUser", params, {});
};

// 删除用户
export const deleteUserApi = (params: any) => {
	return http.post(PORT1 + "/test/table/proTable/deleteUser", params, {});
};
